// JavaScript Document
function displaySubMenu(li) { 
var aa = li.getElementsByTagName("a")[0]; 
aa.style.color = "#ffffff";
var subMenu = li.getElementsByTagName("div")[0]; 
subMenu.style.display = "block"; 
} 
function hideSubMenu(li) { 
var aa = li.getElementsByTagName("a")[0]; 
aa.style.color = "#003366";
var subMenu = li.getElementsByTagName("div")[0]; 
subMenu.style.display = "none"; 
}


function displayMainMenu(div) { 
var subMenu = div.parentNode;
subMenu.style.backgroundImage = "url('../images/common/nav_light.jpg'/*tpa=http://www.95590.cn/ebiz/res/js/images/common/nav_light.jpg*/)";
subMenu.style.backgroundRepeat = "repeat-x";
 
var aa = subMenu.getElementsByTagName("a")[0]; 
aa.style.color = "#ffffff";
} 


function hideMainMenu(div) { 
var subMenu = div.parentNode;
subMenu.style.backgroundImage = ""; 
var aa = subMenu.getElementsByTagName("a")[0]; 
aa.style.color = "#003366";
}

var dhNum = "";
function showDH(dh){
	if(dhNum == ""){
		document.getElementById(dh).style.display = "";
		dhNum = dh;
	}else{
		if(dhNum == dh){
			document.getElementById(dh).style.display = (document.getElementById(dh).style.display == "")?"none":"";
		}else{
			document.getElementById(dhNum).style.display = "none";
			document.getElementById(dh).style.display = "";
			dhNum = dh;
		}
	}
}
